import request from '@/utils/request'

// 查询EPT原始ATT列表
export function listTraceInfo(query) {
  return request({
    url: '/PRDMonitor/traceInfo/list',
    method: 'get',
    params: query
  })
}

// 查询EPT原始ATT详细
export function getTraceInfo(id) {
  return request({
    url: '/PRDMonitor/traceInfo/' + id,
    method: 'get'
  })
}

// 新增EPT原始ATT
export function addTraceInfo(data) {
  return request({
    url: '/PRDMonitor/traceInfo',
    method: 'post',
    data: data
  })
}

// 修改EPT原始ATT
export function updateTraceInfo(data) {
  return request({
    url: '/PRDMonitor/traceInfo',
    method: 'put',
    data: data
  })
}

// 删除EPT原始ATT
export function delTraceInfo(id) {
  return request({
    url: '/PRDMonitor/traceInfo/' + id,
    method: 'delete'
  })
}
